package com.fortune.dto.in.dStoreSurplus;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * TODO m_surplus_base_info
 * @author ran
 *
 */
public class DStoreSurplusAddDto {
    @NotBlank(message="报亏单编号不能为空")
    @ApiModelProperty(required=true, example="报亏单编号不能为空")
    private String num;
    @ApiModelProperty(required=true, example="创建时间")
    private String time;
    @NotBlank(message="仓库id不能为空")
    @ApiModelProperty(required=true, example="仓库id")
    private String storeId;
    private List<DStoreSurplusInfoDto> dStoreSurplusInfoDtos;

    public List<DStoreSurplusInfoDto> getdStoreSurplusInfoDtos() {
        return dStoreSurplusInfoDtos;
    }

    public void setdStoreSurplusInfoDtos(List<DStoreSurplusInfoDto> dStoreSurplusInfoDtos) {
        this.dStoreSurplusInfoDtos = dStoreSurplusInfoDtos;
    }



    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "DStoreSurplusAddDto{" +
                "num='" + num + '\'' +
                ", time='" + time + '\'' +
                ", storeId='" + storeId + '\'' +
                ", dStoreSurplusInfoDtos=" + dStoreSurplusInfoDtos +
                '}';
    }
}
